<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
        <meta name="format-detection" content="telephone=no">
        <meta charset="UTF-8">

        <meta name="description" content="Violate Responsive Admin Template">
        <meta name="keywords" content="Super Admin, Admin, Template, Bootstrap">

        <title>主页</title>
            
        <!-- CSS -->
        <link href="${pageContext.request.contextPath}/admin/css/bootstrap.min.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/animate.min.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/font-awesome.min.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/form.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/calendar.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/media-player.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/style.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/icons.css" rel="stylesheet">
        <link href="${pageContext.request.contextPath}/admin/css/generics.css" rel="stylesheet"> 
    </head>
    <body id="skin-blur-violate">
        <header id="header" class="media">
            <a href="" id="menu-toggle"></a> 
            <a class="logo pull-left" href="index.html">资源管理</a>
            
            <div class="media-body">
                <div class="media" id="top-menu">
                    
                    
                    

                    <div id="time" class="pull-right">
                        <span id="hours"></span>
                        :
                        <span id="min"></span>
                        :
                        <span id="sec"></span>
                    </div>

                  
                </div>
            </div>
        </header>
        
        <div class="clearfix"></div>
        
        <section class="p-relative" role="main">
            
            <!-- Sidebar -->
            <aside id="sidebar">
                
                <!-- Sidbar Widgets -->
                <div class="side-widgets overflow">
                    <!-- Profile Menu -->
                    <div class="text-center s-widget m-b-25 dropdown" id="profile-menu">
                         <a href="" data-toggle="dropdown">
                            <img class="profile-pic animated" src="${pageContext.request.contextPath}/admin/img/1.jpg" alt="">
                        </a>
                         <ul class="dropdown-menu profile-menu">
                             <li><a href="${pageContext.request.contextPath}/music/listadmin">转到音乐播放界面</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
                            <li><a href="${pageContext.request.contextPath}/video/listadmin">转到视频播放界面</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>      
                            <li><a href="${pageContext.request.contextPath}/system/user/login">退出登陆</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
                        </ul>
                        <h4 class="m-0">管理员</h4>
                    </div>
                    
                    <!-- Calendar -->
                    <div class="s-widget m-b-25">
                        <div id="sidebar-calendar"></div>
                    </div>
                   
                    
                   
                </div>
                
                <!-- Side Menu -->
                <ul class="list-unstyled side-menu">
                    <li  class="active">
                        <a class="sa-side-home" href="${pageContext.request.contextPath}/admin/index.jsp">
                            <span class="menu-item">主页</span>
                        </a>
                    </li>
                    <li>
                        <a class="sa-side-typography" href="${pageContext.request.contextPath}/music/list">
                            <span class="menu-item">音乐管理</span>
                        </a>
                    </li>
                    <li>
                        <a class="sa-side-widget" href="${pageContext.request.contextPath}/video/list">
                            <span class="menu-item">视频管理</span>
                        </a>
                    </li>
                    <li>
                        <a class="sa-side-table" href="${pageContext.request.contextPath}/user/list">
                            <span class="menu-item">用户管理</span>
                        </a>
                    </li>
                    <li>
                        <a class="sa-side-folder" href="${pageContext.request.contextPath}/admin/upload.jsp">
                            <span class="menu-item">上传音乐</span>
                        </a>
                    </li>
                    <li>
                        <a class="sa-side-calendar" href="${pageContext.request.contextPath}/admin/uploadvideo.jsp">
                            <span class="menu-item">上传视频</span>
                        </a>
                    </li>
                </ul>
            </aside>
        
            <section id="content" class="container">
            
                  
               <article class="block-area">
                    <h3 class="block-title">简介</h3>
                    <blockquote>
                        <p>这是个音乐视频资源网站，可以听歌看视频并下载。登录时后台根据用户名判断是否为管理员，
                                                 是就登录后台管理界面，不是就跳转普通用户界面。管理员可以在后台分配普通用户的权限，决定他们是否有音乐或视频观看下载能力。
                        </p>
                        <i class="icon-quote-right"></i>
                    </blockquote>
                </article>
                
                <article class="block-area">
                    <h3 class="block-title">所用技术</h3>
                    <blockquote>
                        <p>后台技术：用了Spring框架提供了构建Web应用程序的全功能MVC模块。使用Spring可插入的MVC架构，
                                                   选择了内置的Spring Web框架。通过策略接口，连接网页</br>
                                                 前端技术：音乐和视频播放器都是使用了jPlayer插件进行播放。其他网页用到了jquery json css等技术。                    
                         </p>
                        <i class="icon-quote-right"></i>
                    </blockquote>
                </article>
                
                 <article class="row block-area">
                    <div class="col-sm-6" id="orderedList">
                        <h3 class="block-title">管理员登录界面功能介绍</h3>
                        <ol>
                            <li>音乐管理界面</li>
                            <li>视频管理界面</li>
                            <li>用户管理及分配权限界面</li>
                            <li>音乐上传界面</li>
                            <li>视频上传界面</li>
                        </ol>
                    </div>
                    
                    <div class="col-sm-6">
                        <h3 class="block-title">普通用户登录功能介绍</h3>
                        <ol type="i">
                            <li>音乐欣赏并下载</li>
                            <li>视频欣赏并下载</li>
                        </ol>
                        <br/>
                    </div>
                </article>
                
                
                
            </section>
        </section>
        
        <!-- Javascript Libraries -->
        <!-- jQuery -->
        <script src="${pageContext.request.contextPath}/admin/js/jquery.min.js"></script> <!-- jQuery Library -->
        <script src="${pageContext.request.contextPath}/admin/js/jquery-ui.min.js"></script> <!-- jQuery UI -->

        <!-- Bootstrap -->
        <script src="${pageContext.request.contextPath}/admin/js/bootstrap.min.js"></script>
        
        <!-- Form Related -->
        <script src="${pageContext.request.contextPath}/admin/js/select.min.js"></script> <!-- Custom Select -->
        <script src="${pageContext.request.contextPath}/admin/js/icheck.js"></script> <!-- Custom Checkbox + Radio -->
        
        <!-- Text Editor -->
        <script src="${pageContext.request.contextPath}/admin/js/editor.min.js"></script> <!-- WYSIWYG Editor -->
        
        <!-- Media -->
        <script src="${pageContext.request.contextPath}/admin/js/media-player.min.js"></script> <!-- Video Player -->
        
        <!-- UX -->
        <script src="${pageContext.request.contextPath}/admin/js/scroll.min.js"></script> <!-- Custom Scrollbar -->
        
        <!-- Other -->
        <script src="${pageContext.request.contextPath}/admin/js/calendar.min.js"></script> <!-- Calendar -->
        <script src="${pageContext.request.contextPath}/admin/js/feeds.min.js"></script> <!-- News Feeds -->
        
        
        <!-- All JS functions -->
        <script src="${pageContext.request.contextPath}/admin/js/functions.js"></script>
        
    </body>
</html>

